package com.feige.auth.pojo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author feige
 */
@Data
public class LoginBody  implements Serializable {
    private static final long serialVersionUID = 1779864725719527038L;

    @ApiModelProperty(value = "登录名")
    @NotBlank(message = "登录名不能为空")
    private String loginName;

    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

}
